package woaini.fenger.core.bot.event.message.impl;

import java.io.Serializable;

import lombok.*;
import woaini.fenger.core.bot.event.Segment;

/**
 * <a href="https://github.com/botuniverse/onebot-11/blob/master/message/segment.md#qq-%E8%A1%A8%E6%83%85">表情</a>
 * @see Face
 * @author yefeng {@code @Date} 2023-05-16 16:50:39
 */
@EqualsAndHashCode(callSuper = true)
@Getter
@Setter
public class Face extends Segment implements Serializable {

  private Data data;

  public Face(String id) {
    super("face");
    this.data = new Data(id);
  }

  @NoArgsConstructor
  @lombok.Data
  public static class Data implements Serializable {
    private String id;

    public Data(String id) {
      this.id = id;
    }
  }
}
